package cn.iscorpio.ssm.service.impl;

import cn.iscorpio.ssm.common.CommonService;
import cn.iscorpio.ssm.mapper.UserMapper;
import cn.iscorpio.ssm.model.po.User;
import cn.iscorpio.ssm.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chenkx
 * @date 2018-05-04.
 */
@Service
public class UserServiceImpl extends CommonService<User, String> implements IUserService {

    UserMapper mapper;

    @Autowired
    public UserServiceImpl(UserMapper mapper) {
        this.mapper = mapper;
        setMapper(mapper);
    }
}
